<title>Membership Type</title>
<script>
    $("ul li").each(function() {
        if ($(this).attr("key") == "adminsettings") {
            $(this).addClass("active");
        }
    });
</script>
<h2>Membership Type</h2>
<div class="row-fluid">
    <div class="span4 well">
        <table class="table">
            <thead>
                <tr>
                    <td>#</td>
                    <td>Type</td>
                    <td>Cost</td>                
                </tr>
            </thead>
            <tbody>
                <?php
                $localVar = 1;
                foreach ($this->membershipTable as $value) : ?>
                <tr>
                    <td><?=$localVar++;?></td>
                    <td><?=$value['type']?></td>
                    <td><?=$value['cost']?></td>
                </tr>                                
               <?php endforeach; ?>
            </tbody>

        </table>
    </div>
</div>